package com.tz.farmer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.smartPark.msframe.result.ResultEx;
import com.tz.farmer.model.BusinessInfo;
import com.tz.farmer.model.GoodsInfo;
import com.tz.farmer.so.BusinessPushSo;

import java.util.List;

public interface BusinessService extends IService<BusinessInfo> {
    /**
     * 保存商品信息
     *
     * @param businessPushSo
     * @return
     */
    BusinessInfo saveBusinessInfo(BusinessPushSo businessPushSo) throws Exception;
    Boolean checkBusinessInfo(BusinessPushSo businessPushSo) throws Exception;
    Boolean checkGoodsInfo(List<GoodsInfo> list) throws Exception;
    ResultEx getBusinessInfo(BusinessPushSo businessPushSo) throws Exception;
}
